package vip.xiaonuo.smzq.modular.synchronize.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import vip.xiaonuo.smzq.modular.synchronize.entity.TableFields;
import vip.xiaonuo.smzq.modular.synchronize.mapper.TableFieldsMapper;
import vip.xiaonuo.smzq.modular.synchronize.service.ITableFieldsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vip.xiaonuo.common.page.CommonPageRequest;

import javax.annotation.Resource;

/**
 * 表字段管理表 服务实现类
 *
 * @author sqq
 * @since 2025-02-21
 */
@Service
public class TableFieldsServiceImpl extends ServiceImpl<TableFieldsMapper, TableFields> implements ITableFieldsService {

    @Resource
    private TableFieldsMapper tableFieldsMapper;

    @Override
    public Page<TableFields> page(TableFields tableFields) {
        QueryWrapper<TableFields> queryWrapper = new QueryWrapper<>();
        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
    }
}
